package com.java1234.service;

import com.java1234.entity.R;
import com.java1234.entity.Task;
import org.springframework.stereotype.Service;

import java.util.Map;
import java.util.Set;

@Service
public interface TasksService {
    Set<Object> selectTodayTasks(String username);

    Object selectTaskById(Integer id, String username);

    R insertTask(Task task, String username);

    R updateTask(Task task, Integer id, String username);

    R deleteTask(Integer id, String username);

    R updateTaskStatus(Integer status, Integer id, String username);
}
